package com.own.business.dingtalk.gov.property;

import com.own.constant.ConstantValue;
import lombok.Data;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * DingTalkGovProperties
 *
 * @author chenxueli
 * @date 2023-07-02 13:13:31
 */
@Data
@SpringBootConfiguration
@ConfigurationProperties(prefix = DingTalkGovProperty.PREFIX)
public class DingTalkGovProperty {

    public static final String PREFIX = ConstantValue.CONFIG_VALUE_CONTENT + "ding-talk-gov";

    /**
     * 域
     */
    private String domain = "openplatform.dg-work.cn";
    /**
     * key
     */
    private String accessKey;
    /**
     * 秘钥
     */
    private String secretKey;
    /**
     * 环境
     */
    private String env;

}
